<template>
  <swiper :options="swiperOption">
    <swiper-slide class="swiper1">Slide 1</swiper-slide>
    <swiper-slide>Slide 2</swiper-slide>
    <swiper-slide>Slide 3</swiper-slide>
    <swiper-slide>Slide 4</swiper-slide>
    <swiper-slide>Slide 5</swiper-slide>
    <div class="swiper-pagination" slot="pagination"></div>
  </swiper>
</template>

<script>
export default {
    data(){
        return {
          swiperOptions: {
            slidesPerView: 4,//显示个数
            // direction: 'vertical',
            pagination: {
                el: '.swiper-pagination'
            },
          }
        }
    }
}
</script>

<style>
.swiper1{
  width: 90%;
  height: 100%;
}
</style>